package com.cykj.pos.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.cykj.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;
import java.util.Map;
import java.util.HashMap;
import java.math.BigDecimal;

/**
 * 代理渠道交易收益统计对象 aiz_statistical_merchant
 *
 * @author xxl
 * @date 2025-03-21
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("aiz_statistical_merchant")
public class AizStatisticalMerchant implements Serializable {

private static final long serialVersionUID=1L;


    /** 用户ID */
    @TableId(value = "id")
    private Long id;
    /** 用户ID */
//    @TableId(value = "user_id")
    private Long userId;

    /** 分润合计 */
    @Excel(name = "分润合计")
    private Double totalProfitAmount;

    /** 年分润合计 */
    @Excel(name = "年分润合计")
    private Double yearProfitAmount;

    /** 上月分润合计 */
    @Excel(name = "上月分润合计")
    private Double lastMonthProfitAmount;

    /** 本月分润合计 */
    @Excel(name = "本月分润合计")
    private Double thisMonthProfitAmount;

    /** 日分润合计 */
    @Excel(name = "日分润合计")
    private Double todayProfitAmount;

    /** 总交易量 */
    @Excel(name = "总交易量")
    private Double totalTransAmount;

    /** 年交易量 */
    @Excel(name = "年交易量")
    private Double yearTransAmount;

    /** 上月交易量 */
    @Excel(name = "上月交易量")
    private Double lastMonthTransAmount;

    /** 当月交易量 */
    @Excel(name = "当月交易量")
    private Double thisMonthTransAmount;

    /** 当日交易量 */
    @Excel(name = "当日交易量")
    private Double todayTransAmount;

    /** 昨日交易量 */
    @Excel(name = "昨日交易量")
    private Double yesterdayTransAmount;

    /** 昨日分润合计 */
    @Excel(name = "昨日分润合计")
    private Double yesterdayProfitAmount;

    /** 渠道ID */
    @Excel(name = "渠道ID")
    private Integer channelId;

    private String channelName;

    @TableField(exist = false)
    private Map<String, Object> params = new HashMap<>();
}
